package com.wx.entity;

import com.wx.common.BaseEntity;

import javax.persistence.Column;
import java.io.Serializable;

public class SysCron extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 4532576689089329278L;

    /**
     * 版本号
     */
    private Integer version;

    /**
     * 表达式
     */
    private String cron;

    /**
     * 任务名称
     */
    @Column(name = "task_name")
    private String taskName;

    @Override
    public Integer getVersion() {
        return version;
    }

    @Override
    public void setVersion(Integer version) {
        this.version = version;
    }

    public String getCron() {
        return cron;
    }

    public void setCron(String cron) {
        this.cron = cron;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }
}